-
Couldn't load subscription status.
- Fork 2.7k
Match any error when failing to find executables #10092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. Please see the contribution instructions for more information. |
For Windows targets, Rust now uses a custom resolver to find `process::Command` programs. This has caused some error messages to change. To allow it to be merged, some tests have been adjusted to match any error.
|
@bors: r+ |
|
📌 Commit 93bcd97 has been approved by |
|
☀️ Test successful - checks-actions |
Update cargo 11 commits in 2e2a16e983f597da62bc132eb191bc3276d4b1bb..ad50d0d266213e0cc4f6e526a39d96faae9a3842 2021-11-08 15:13:38 +0000 to 2021-11-17 18:36:37 +0000 - Warn when alias shadows external subcommand (rust-lang/cargo#10082) - Implement escaping to allow clean -p to delete all files when directory contains glob characters (rust-lang/cargo#10072) - Match any error when failing to find executables (rust-lang/cargo#10092) - Enhance error message for target auto-discovery (rust-lang/cargo#10090) - Include note about bug while building on macOS in mdbook (rust-lang/cargo#10073) - Improve the help text of the --quiet args for all commands (rust-lang/cargo#10080) - `future-incompat-report` checks both stdout and stderr for color support (rust-lang/cargo#10024) - Remove needless borrow to make clippy happy (rust-lang/cargo#10081) - Describe the background color of the timing graph (rust-lang/cargo#10076) - Make ProfileChecking comments a doc comments (rust-lang/cargo#10077) - Fix test: hash value depends on endianness and bitness. (rust-lang/cargo#10011)
The `FIXME` comment in the tool_paths test is no longer a problem. Not only the mentioned PR is already merged, but also this comment was originally written in #10092 which is before [migration from bespoke to snapbox](#14039). Since current cargo-test-support implementation (after the migration) abstracts error messages [here](https://github.com/rust-lang/cargo/blob/e3db2dcc3e85b00529354fb15de7612ad2c446fa/crates/cargo-test-support/src/compare.rs#L260), I believe this comment is safe to be removed.
For Windows targets, Rust now uses a custom resolver to find
process::Commandprograms. This has caused some error messages to change.To allow the PR to be merged, some tests have been adjusted to match any error.
cc @ehuss